import { Pipe, PipeTransform } from '@angular/core';
import { DatePipe } from 'ng-devui';

@Pipe({
  name: 'dateForm'
})
export class DateFormPipe extends DatePipe implements PipeTransform {
  transform(value: any, args?: any): any {
    return super.transform(value, 'yyyy-MM-dd HH:mm');
  }
}
